﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 放各类杂项常量
/// </summary>
public class MainConst
{
    //Notification 名称常量
    public const string STARTUP = "STARTUP";
    public const int GameFrameRate = 30; //游戏帧率
    public const int MainCamFOV = 70; //主相机FOV
    public const int WideAngleShotCamFOV = 120; //广角拍摄相机FOV
    public const int FullViewShotCamFOV = 120; //全景拍摄相机FOV
    public const int FullViewShotCameraRotateSpeed = 20;//全景图录制时相机的旋转速度,速度不可过快，否则会出现相片的断层
    
    
    public const string AppName = "BorderExpansions";               //暂定游戏名称(边疆扩张)
    public const string AssetDirectory = "StreamingAssets";         //游戏ab等资源目录
    public const string AppPrefix = AppName + "_";              //程序前缀
    /// <summary>
    /// 开启调试模式时，不需要解包到本地平台,资源直接从工程本地加载
    /// </summary>
    public static bool DebugMode =  MainFacade.instance.main.debugMode; 
    /// <summary>
    /// 开启更新模式-默认关闭，开启后每次启动会从资源服务器上比对下载最新的资源 
    /// </summary>
    public static bool UpdateMode = MainFacade.instance.main.openUpdateMode;

    /// <summary>
    /// 想要快速生成ab资源到服务器，节省掉unity import ab的过程
    /// </summary>
    public static bool NeedClearStreamingAssets = MainFacade.instance.main.needClearStreamingAssets;

    public const string resServerUrl = "http://localhost:8080/"; //资源服务器地址 //"http://169.254.97.200:8080/";//


}
